package perform.criterion;

public class Between extends AbstractCriterion {

	private Between(StringBuilder builder) {
		super(builder);
	}

	public static Between create(String column, Object min, Object max) {
		StringBuilder builder = new StringBuilder();
		builder.append("`").append(column).append("` between ").append(getValue(min))
				.append(" and ").append(getValue(max));
		return new Between(builder);
	}

}
